﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x0200005F RID: 95
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class AetherDivideSkillItemScNotify : IMessage<AetherDivideSkillItemScNotify>, IMessage, IEquatable<AetherDivideSkillItemScNotify>, IDeepCloneable<AetherDivideSkillItemScNotify>, IBufferMessage
	{
		// Token: 0x1700012E RID: 302
		// (get) Token: 0x06000433 RID: 1075 RVA: 0x0000CFFD File Offset: 0x0000B1FD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<AetherDivideSkillItemScNotify> Parser
		{
			get
			{
				return AetherDivideSkillItemScNotify._parser;
			}
		}

		// Token: 0x1700012F RID: 303
		// (get) Token: 0x06000434 RID: 1076 RVA: 0x0000D004 File Offset: 0x0000B204
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return AetherDivideSkillItemScNotifyReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17000130 RID: 304
		// (get) Token: 0x06000435 RID: 1077 RVA: 0x0000D016 File Offset: 0x0000B216
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return AetherDivideSkillItemScNotify.Descriptor;
			}
		}

		// Token: 0x06000436 RID: 1078 RVA: 0x0000D01D File Offset: 0x0000B21D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public AetherDivideSkillItemScNotify()
		{
		}

		// Token: 0x06000437 RID: 1079 RVA: 0x0000D025 File Offset: 0x0000B225
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public AetherDivideSkillItemScNotify(AetherDivideSkillItemScNotify other) : this()
		{
			this.itemId_ = other.itemId_;
			this.num_ = other.num_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06000438 RID: 1080 RVA: 0x0000D056 File Offset: 0x0000B256
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public AetherDivideSkillItemScNotify Clone()
		{
			return new AetherDivideSkillItemScNotify(this);
		}

		// Token: 0x17000131 RID: 305
		// (get) Token: 0x06000439 RID: 1081 RVA: 0x0000D05E File Offset: 0x0000B25E
		// (set) Token: 0x0600043A RID: 1082 RVA: 0x0000D066 File Offset: 0x0000B266
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint ItemId
		{
			get
			{
				return this.itemId_;
			}
			set
			{
				this.itemId_ = value;
			}
		}

		// Token: 0x17000132 RID: 306
		// (get) Token: 0x0600043B RID: 1083 RVA: 0x0000D06F File Offset: 0x0000B26F
		// (set) Token: 0x0600043C RID: 1084 RVA: 0x0000D077 File Offset: 0x0000B277
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Num
		{
			get
			{
				return this.num_;
			}
			set
			{
				this.num_ = value;
			}
		}

		// Token: 0x0600043D RID: 1085 RVA: 0x0000D080 File Offset: 0x0000B280
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as AetherDivideSkillItemScNotify);
		}

		// Token: 0x0600043E RID: 1086 RVA: 0x0000D08E File Offset: 0x0000B28E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(AetherDivideSkillItemScNotify other)
		{
			return other != null && (other == this || (this.ItemId == other.ItemId && this.Num == other.Num && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600043F RID: 1087 RVA: 0x0000D0CC File Offset: 0x0000B2CC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.ItemId != 0U)
			{
				num ^= this.ItemId.GetHashCode();
			}
			if (this.Num != 0U)
			{
				num ^= this.Num.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06000440 RID: 1088 RVA: 0x0000D124 File Offset: 0x0000B324
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06000441 RID: 1089 RVA: 0x0000D12C File Offset: 0x0000B32C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06000442 RID: 1090 RVA: 0x0000D138 File Offset: 0x0000B338
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.ItemId != 0U)
			{
				output.WriteRawTag(8);
				output.WriteUInt32(this.ItemId);
			}
			if (this.Num != 0U)
			{
				output.WriteRawTag(88);
				output.WriteUInt32(this.Num);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06000443 RID: 1091 RVA: 0x0000D190 File Offset: 0x0000B390
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.ItemId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.ItemId);
			}
			if (this.Num != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Num);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06000444 RID: 1092 RVA: 0x0000D1E8 File Offset: 0x0000B3E8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(AetherDivideSkillItemScNotify other)
		{
			if (other == null)
			{
				return;
			}
			if (other.ItemId != 0U)
			{
				this.ItemId = other.ItemId;
			}
			if (other.Num != 0U)
			{
				this.Num = other.Num;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06000445 RID: 1093 RVA: 0x0000D238 File Offset: 0x0000B438
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06000446 RID: 1094 RVA: 0x0000D244 File Offset: 0x0000B444
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 8U)
				{
					if (num != 88U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.Num = input.ReadUInt32();
					}
				}
				else
				{
					this.ItemId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x0400017C RID: 380
		private static readonly MessageParser<AetherDivideSkillItemScNotify> _parser = new MessageParser<AetherDivideSkillItemScNotify>(() => new AetherDivideSkillItemScNotify());

		// Token: 0x0400017D RID: 381
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400017E RID: 382
		public const int ItemIdFieldNumber = 1;

		// Token: 0x0400017F RID: 383
		private uint itemId_;

		// Token: 0x04000180 RID: 384
		public const int NumFieldNumber = 11;

		// Token: 0x04000181 RID: 385
		private uint num_;
	}
}
